package com.jie.jie.PermissionDispatcher;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.jie.jie.R;

public class PermissActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_permiss);
    }

    public void click(View view) {
        switch (view.getId()) {
            case R.id.per_dan:
                startActivity(new Intent(PermissActivity.this, DanActivity.class));
                break;
            case R.id.per_duo:
                startActivity(new Intent(PermissActivity.this, DuoActivity.class));
                break;
        }
    }
}
